var exec = require('cordova/exec');

exports.startPay = function(tn, test_mode, merchant_id, success, error) {
    exec(success, error, "ApplePay", "starPay", [ tn, test_mode, merchant_id ]);
};